﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage1.master" AutoEventWireup="true" CodeFile="dang-nhap.aspx.cs" Inherits="User_dang_ky" Title="Đăng nhập" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="this-container">
        <div class="this-header" style="width:974px">
            <p style="float:left;margin-left:10px;;line-height:49px;font-size:14px;font-weight:bold;color:#6a6b6c">
                Đăng nhập
            </p>
            <p style="float:right;line-height:49px;margin-right:10px;">
                Chưa có tài khoản ? <img alt="" runat="server" src="~/Images/icon-8.png" style="margin:4px;margin-bottom:-1px;" /> <a runat="server" href="~/User/dang-ky.aspx" style="color:#04a0fa">Đăng ký</a>
            </p>
        </div>
        <div id="this-form">
            <div style="width:600px;margin:left;margin-top:30px;margin-left:300px;margin-bottom:15px">
                <span>Email</span><br />
                <asp:TextBox CssClass="this-textbox" ID="txtEmail" runat="server"> </asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtEmail" ForeColor="#898989" Display="Dynamic"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="Email không hợp lệ" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    Display="Dynamic" Font-Bold="False" Font-Italic="True" ForeColor="#898989"></asp:RegularExpressionValidator>
                <br />
                <span>Mật khẩu</span><br />
                <asp:TextBox CssClass="this-textbox" ID="txtPassword" TextMode="Password" runat="server"> </asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtPassword" ForeColor="#898989" Display="Dynamic"></asp:RequiredFieldValidator>
                <br />
                <p>
                    <asp:CheckBox ID="cbRemember" runat="server" Text="&nbsp; Ghi nhớ đăng nhập" />&nbsp;&nbsp;<span>|</span>&nbsp;<a runat="server" href="~/User/quen-mat-khau.aspx" style="color:#04a0fa">Quên mật khẩu</a> </p>
                <p style="margin-top:15px;margin-bottom:20px;">
                    <asp:Button ID="btnDangnhap" CssClass="this-Nutdangky" runat="server" 
                        Text="Đăng nhập" onclick="btnDangnhap_Click" />
                    <asp:Button ID="btnHuy" runat="server" Text="Hủy" CssClass="this-Nuthuy" />
                </p>
                <asp:Label ID="lblInfo" runat="server" Text="" ForeColor="#CC0000"></asp:Label>
            </div>
        </div>
    </div>
</asp:Content>

